package com.sfhk.service;

import com.sfhk.domain.User;
import com.sfhk.utils.LoginException;

import java.util.List;

public interface UserService {

    void addUser(User user);
    User login(String username,String password) throws LoginException;

}
